Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
Java Tutorial
1) 2D Graphics
2) Ant
3) Apache Common
4) Class Definition
5) Collections
6) Data Type
7) Database
8) Design Pattern
9) Development
10) EJB3
11) Email
12) File
13) Generics
14) Hibernate
15) Internationalization
16) J2EE Application
17) J2ME
18) JPA
19) JSP
20) JSTL
21) JUnit
22) Language
23) Log
24) Network
25) Operators
26) PDF
27) Reflection
28) Regular Expressions
29) Security
30) Servlet
31) Spring
32) Statement Control
33) Swing
34) Swing Event
35) SWT
36) SWT 2D Graphics
37) Thread
38) Web Services SOA
39) XML
JPA
1) Abstract Class As Mapped Superclass
2) Add Entity Listeners To subclasses
3) Add Properties In Abstract Entity
4) Add Unique Constraint On The Table Level
5) Adding Properties To SubClasses
6) Aggregate function
7) Alias Column In Resultset Mapping
8) Attribute Overrides For Embeddable ID
9) Attribute Overrides For Secondary Table
10) Bidirectional Many To Many Mapping
11) Bidirectional One To One Mapping
12) Cache Hint
13) Cascade Type
14) Change Default Column Name
15) Change Inheritance Type
16) Column Definition For Join Column
17) Commit a Transaction
18) Compound Primary key
19) Create Table From Table Generator
20) Create Your Own Table For Table Generator
21) Date Mapped To Timestamp By Default
22) Define Extra Class For Compound Key
23) Detachment Triggered Lazy Loading
24) Detachment With Eager Loading
25) Discriminator Column And Discriminator Value
26) Discriminator Type
27) EJB QL Between With Date Type Value
28) EJB QL Concat Function Substring
29) EJB QL Count distinct
30) EJB QL Count Entity
31) EJB QL Create new Object In Select Statement
32) EJB QL Date Value As Parameter
33) EJB QL Delete Statement
34) EJB QL Delete With Condition
35) EJB QL Exist And Subquery
36) EJB QL Get Distinct Entity
37) EJB QL Get Entity From Entity
38) EJB QL Get Field From Entity
39) EJB QL Get Single result
40) EJB QL Get Two Properties From Entity
41) EJB QL Group By And Aggregate Function
42) EJB QL Group Named Query With Named Queries
43) EJB QL GroupBy
44) EJB QL Having Clause
45) EJB QL In Function
46) EJB QL In Function With One To Many
47) EJB QL In With Subquery
48) EJB QL is Field empty
49) EJB QL Join Entity And Its Field
50) EJB QL Join Many To Many
51) EJB QL Join One to Many Left Join Fetch
52) EJB QL Join One To Many Map
53) EJB QL Join One To One
54) EJB QL Join One To One Return Two Entities
55) EJB QL Join Three Entities
56) EJB QL Join Two Entities
57) EJB QL Left Join One To Many Map
58) EJB QL Max With Date Type
59) EJB QL MemberOf function
60) EJB QL Order By Two Fields
61) EJB QL Pass Entity As Parameter
62) EJB QL Update With Condition
63) EJB Query Language
64) EJB SQL Count Function
65) Embeddable Entity
66) Embedded Compound Primary Key
67) Embedded Objects Multiple Tables
68) Entity Listener
69) Entity Listeners PrePersist
70) Enumerated Enum Type ORDINAL
71) Enumerated value And EnumType STRING
72) Exclude Super class Listeners In Super Class
73) Execute Native Query
74) Field Injection ID
75) Find an Entity By ID
76) Generate ID From a Table
77) Generated Value Based On Sequence Generator
78) ID Class ResultSet Mapping
79) Id Containing Relationship
80) ID Entity With Hash Code And Equals
81) ID Generation Type
82) Inheritance Type JOINED
83) Inheritance Type TABLE_PER_CLASS
84) Java Byte Array Lob Mapped To Long VarBinary
85) Java Calendar Mapped To Date
86) Java Enum Mapped To Varchar
87) Java Int Mapped To Integer
88) Java Long Mapped To Big Int
89) Java String Mapped To Varchar
90) JPA Create Sequence Table For You
91) JPA Creates Join Table For Many To Many Mapping
92) JPA Development Environment Setup
93) Lifecycle Entity
94) Like statement
95) Like statement and Wild Card
96) Many To Many based on Collection
97) Many To Many Join Table Join Inverse Join Column
98) Many To Many Mapping and Remove Operation
99) Many To One Cascade Merge
100) Many To One Cascade Remove
101) Many To One Cascasde Persist
102) Many To One Insertable Nullable Updatable
103) Many to One Map With Entity Hierarchy
104) Many To One Mapping Manually Linking
105) Many To One Mapping Unique Join Column
106) Many To One Set Join Column Name
107) Map Java Calendar To Timestamp
108) Map Java Date To Date
109) Map Java Date To Time
110) Map Java Date To Timestamp
111) Map One Entity To More Than One Table
112) Map One Field To Secondary Table
113) Map Serializable Entity To Lob
114) Mapping Relationship State
115) Mark Abstract Entity With Inheritance
116) Mark Abstract Entity With Mapped Superclass
117) Mark Byte Array Field As Lob
118) Mark Class As Entity
119) Mark Discriminator Column For Entities In Hierarchy
120) Mark Field As Basic
121) Mark Field As Lazy Load
122) Mark Java Calendar With Temporal Type Date
123) Mark Property Accessor
124) Mark String As Lob
125) Named Native Query
126) Named Query With Int Parameter
127) Named Query With String Parameter
128) Native Insert Statement With Parameter
129) Not In function
130) Not Nullable ID
131) Nullable Join Column
132) One Entity With Two Listeners
133) One Entity With Two Secondary Tables
134) One To Many Bidirectional
135) One To Many Cascade All
136) One To Many Join Table Setup
137) One To Many List Collection
138) One To Many Map Collection
139) One To Many With Mapped By To remove Mapping Table
140) One To Many With Order By Setting
141) One To One Mapping Based On Table Based ID
142) One To One Mapping Bidirectional
143) One To One Mapping Mapped By Field
144) One To One Mapping Primary Key As Join Column
145) One To One Mapping With Cascading All
146) One To One Mapping With Fetch Type Lazy
147) One To One Unidirectional
148) Order Descending
149) Pageable ResultSet
150) Persist subclass
151) Persistance Configuration
152) Query an Entity as Query a Table
153) Query Field Of Field
154) Query Flush Mode
155) Query One To Many Collection
156) Query with Parameters
157) Range Check With Comparison Operator
158) Remove a Found Entity
159) Remove a Just Added Entity
160) Resultset Mapping With Two Entities
161) Retrieve One To One Mapped Entity
162) Return List Of Entities From Query
163) Roll Back A Transaction
164) Save an Entity to Database
165) Secondary Table With Compound Key
166) Secondary Table With Many To One Relationship
167) Secondary Table With Primary Key
168) Sequence Generator Name Init Value And Size
169) Set Column Length
170) Set Column Name For Accessor
171) Set Discriminator Value In Subclass
172) Set ID By Yourself
173) Set Precision And Scale
174) Set Primary Key Join Column For Entities In Hierarchy
175) Set Table Name For Entity
176) Set Table Schema
177) Set target Entity For One To Many Mapping
178) Seven Entities
179) Share Embeddable Entity
180) Single Table ResultSet Mapping
181) Size function
182) Specify Column Definition To Field
183) Sql ResultSet Mapping For Hierarchical Entity
184) Sql ResultSet Mapping With Entity And Column
185) Sql ResultSet Mapping With Entity Result And Field Result
186) Subclass With Attribute Overrides
187) Temporal Type DATE
188) Temporal Type TIMESTAMP
189) Three Leve Entity Hierarchy
190) Three Level Field Reference
191) Transient Field Not Persisted
192) Two Aggregate Functions
193) Unique, Not Nullable Column
194) Update an Entity from find method
195) Use Between To check Salary Range
196) Use Collection In One To Many Mapping
197) Use Current Milisecond As ID
198) Use Entity Returned From Merge Operation
199) Use Object Function
200) Use Sequence Generator
201) Use UUID As Primary Key
202) Use Varchar Type As Column Type
203) Using Attribute Overrides
204) Using SubQuery in EJB Query Langauge
205) Versioning Entity
206) Where Clause With SubQuery
207) With Cascade All Linked Entity Auto Save